﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=9" />
    <title></title>
    <link rel="shortcut icon" href="../images/logo/logo16_16.png" />
    <link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
    <script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
    <form id="formcontent" name="formcontent">
        <div class="col-md-8 column">
            <div class="row clearfix">
                <div class="col-md-12 column">
                    <ul class="nav nav-tabs">
                        <li class="active">
                            <a href="#" style=" font-size:20px; font-weight:bold;">修改密码</a>
                        </li>
                    </ul>
                </div>
            </div>
            <div class="row clearfix">
                <div class="col-md-12 column">
                    <ul style=" list-style:none; font-size:16px;line-height:20px; padding-top:10px;">
                        <li style=" padding-top:10px;">
                            原密码：
                            <input type="password" id="txtoldpwd" name="txtpoldwd" />
                        </li>
                        <li style=" padding-top:10px;">
                            新密码：
                            <input type="password" id="txtnewpwd" name="txtnewpwd" />
                        </li>
                        <li style=" padding-top:10px;">
                            确认密码：
                            <input type="password" id="txtcheckpwd" name="txtcheckpwd" />
                        </li>
                        <li style="line-height:30px;padding-top:10px;">
                            <input type="button" name="btncommit" id="btncommit" value="修改" style="width:10%" onclick="return commit();" />
                        </li>
                    </ul>
                </div>
            </div>

            <div class="row clearfix">
                <div class="col-md-12 column">
                </div>
            </div>
        </div>
    </form>

    <script type="text/javascript">
        function commit() {
            if (confirm("确认修改密码？")) {
                $("#txtoldpwd").val("");
                $("#txtnewpwd").val("");
                $("#txtcheckpwd").val("");
                alert("修改成功!");
                return true;
            } else {
                $("#txtoldpwd").val("");
                $("#txtnewpwd").val("");
                $("#txtcheckpwd").val("");
                alert("修改失败!");
                return false;
            }
        }
    </script>
</body>
</html>
